import instance from "@/axios";

// 开班计划分页数据
export const  schedulePage = (searchForm)=>instance.post("/schedule/page",searchForm)

// 根据id 获取开班计划
export const getScheduleById = (id)=>instance.get("/schedule/getById/"+id)

// 添加 修改开班计划
export const addOrUpdateSchedule = (scheduleForm)=>instance.post("/schedule/addOrUpdate/",scheduleForm)

// 删除开班计划
export const deleteSchedule = (id)=>instance.delete("/schedule/delete/"+id)
